package org.jackysoft.mapper;

import java.util.Collection;

import org.apache.ibatis.annotations.Param;
import org.jackysoft.data.MapperDataProvider;
import org.jackysoft.entity.OsRuntimeContext;

public interface OsRuntimeContextMapper extends
		MapperDataProvider<OsRuntimeContext> {
	
	Collection<OsRuntimeContext> findByRefname(@Param("refname")String refname);
	
	
	OsRuntimeContext findOfOne(@Param("refid")long refid, @Param("actionId")int actionId, @Param("stepId")long stepId);
	
	OsRuntimeContext findOneByPk(@Param("refname")String refname, @Param("actionId")int actionId, @Param("stepId")long stepId);
	

}
